package com.gwctv;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Slf4j 作用：输出日志
 * @SpringBootApplication
 * 能交给IOC容器管理的bean对象的前提是能够被启动类扫描的到，扫描范围为启动类所在包
 * 及其子包
 */
@Slf4j
@SpringBootApplication
public class SkyServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(SkyServerApplication.class, args);
        log.info("server started");
    }
}
